package com.dk.service;

import com.dk.pojo.MdVendor;
import com.dk.pojo.QcIqc;
import com.dk.pojo.Warehouse;
import com.dk.pojo.WmItemRecpt;
import com.dk.result.PageResult;
import com.dk.result.Result;

import java.util.Date;

/**
 * @author LTZ
 * @create 2023/5/11
 */
public interface RecptService {
    PageResult<WmItemRecpt> getRecptInfo(Integer pageNum, Integer pageSize, String recptCode, String recptName, String vendorName, String poCode, Date recptDate);

    Result addRecpt(WmItemRecpt recptRecpt, QcIqc qcIqc, MdVendor mdVendor, Warehouse warehouse, String token);

    Result updateRecpt(WmItemRecpt recptRecpt, QcIqc qcIqc, MdVendor mdVendor, Warehouse warehouse, String token);

    Result updateRecpt(WmItemRecpt recptRecpt,MdVendor mdVendor, Warehouse warehouse, String token);

    Result updateRecpt(WmItemRecpt recptRecpt, QcIqc qcIqc, Warehouse warehouse, String token);

    Result updateRecpt(WmItemRecpt recptRecpt, QcIqc qcIqc, MdVendor mdVendor,String token);

    Result updateRecpt(WmItemRecpt recptRecpt, QcIqc qcIqc,String token);

    Result updateRecpt(WmItemRecpt recptRecpt, MdVendor mdVendor, String token);

    Result updateRecpt(WmItemRecpt recptRecpt, Warehouse warehouse, String token);

    Result updateRecpt(WmItemRecpt recptRecpt, String token);

    void deleteRecpt(Long recptId);

    WmItemRecpt selectRecptByRecptId(Long recptId);

    Result updateStatus(WmItemRecpt recpt, QcIqc qcIqc);
}
